<?php
/**
 * Student Model Class File
 *
 * PHP Version 5.4
 *
 * @category Example
 * @package  Example
 * @author   Sengchheang Chhun <sengchheang@web-essentials.asia>
 * @license  http://opensource.org/licenses/gpl-license.php GNU Public License
 * @link     http://www.web-essentials.asia
 */

/**
 * Student Model
 *
 * @category Example
 * @package  Example
 * @author   Sengchheang Chhun <sengchheang@web-essentials.asia>
 * @license  http://opensource.org/licenses/gpl-license.php GNU Public License
 * @link     http://www.web-essentials.asia
 */
class Student
{

		// Integer represent student identity.
	private $_id;

		// String represent student first name.
	private $_firstName;

		// String represent student last name.
	private $_lastName;

		// DateTime represent date that student registered.
	private $_registeredDate;


	/**
	 * Getter for $_id
	 *
	 * @return integer
	 */
	public function getId()
	{
		return $this->_id;

	}//end getId()


	/**
	 * Getter for $_id
	 *
	 * @param integer $id - Input number for student ID
	 *
	 * @return void
	 */
	public function setId($idNumber)
	{
		$this->id = $idNumber;

	}//end setId()


	/**
	 * Getter for $_firstName
	 *
	 * @return string
	 */
	public function getFirstName()
	{
		return $this->_firstName;

	}//end getFirstName()


	/**
	 * Setter for $_firstName
	 *
	 * @param string $firstName - Input string for student first name
	 *
	 * @return void
	 */
	public function setFirstName($firstName)
	{
		$this->_firstName = $firstName;

	}//end setFirstName()


	/**
	 * Getter for $_lastName
	 *
	 * @return string
	 */
	public function getLastName()
	{
		return $this->_lastName;

	}//end getLastName()


	/**
	 * Setter for $_lastName
	 *
	 * @param string $lastName - Input string for student last name
	 *
	 * @return void
	 */
	public function setLastName($lastName)
	{
		$this->_lastName = $lastName;

	}//end setLastName()


	/**
	 * Getter for $_registeredDate
	 *
	 * @return DateTime
	 */
	public function getRegisteredDate()
	{
		return $this->_registeredDate;

	}//end getRegisteredDate()


	/**
	 * Setter for $_registeredDate
	 *
	 * @param DateTime $_registeredDate - Input DateTime when student registered
	 *
	 * @return void
	 */
	public function setRegisteredDate($_registeredDate)
	{
		$this->_registeredDate = $_registeredDate;

	}//end setRegisteredDate()


}//end class

?>